package com.example.admin.service.impl;

import com.example.admin.mapper.AdUserMapper;
import com.example.admin.service.UserService;
import com.usian.model.admin.pojos.AdUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {
    @Autowired
    AdUserMapper adUserMapper;
    
    @Override
    public AdUser getUserById(Integer userId) {
        return adUserMapper.selectById(userId);
    }
}
